package com.forekenow.Demo4;

public class Dog extends Pet {

    @Override
    public void toHospital() {
        this.setHealth(50);
    }

    @Override
    public void eat() {
        System.out.println("chi");
    }

    public void run(){
        System.out.println("run。。。。");
    }
}
